package com.yn.common.model.zyorder;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * 转运订单服务信息
 *
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_zy_order_service")
public class ZyOrderServiceT implements Serializable {

    private static final long serialVersionUID=1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    //转运订单id
    @ApiModelProperty(value = "转运订单id")
    private Integer zyOrderId;

    @ApiModelProperty(value = "服务项id")
    private Integer serviceConfigId;

    @ApiModelProperty(value = "服务类型(1:转运/2:普通服务)")
    private Integer serviceType;

    @ApiModelProperty(value = "服务项id")
    private Integer serviceRegionPriceId;

    @ApiModelProperty(value = "单价")
    private Integer unitPrice;

    @ApiModelProperty(value = "值")
    private Integer unitValue;

    @ApiModelProperty(value = "单位（km/层）")
    private String unit;

    @ApiModelProperty(value = "区域范围")
    private Integer regionRange;

    @ApiModelProperty(value = "区域范围单价")
    private Integer regionRangePrice;
    //服务费用
    private Integer serviceCost;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "修改时间")
    private Date updateTime;

    @ApiModelProperty(value = "是否删除 0 否 1 是")
    private Boolean  isDelTag;



}
